/* ===== toolbarbutton.css =====================================================
  == Styles used by the XUL button element.
  ======================================================================= */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ::::: toolbarbutton ::::: */

toolbarbutton {
  -moz-box-align: center;
  -moz-box-pack: center;
  margin: 0px;
  padding: 3px;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
  background-color: transparent;
}

.toolbarbutton-icon {
	padding: 1px 0px 1px 0px;
}

.toolbarbutton-text {
  margin: 0px;
  padding: 0px;
  text-align: center;
  vertical-align: middle;
  color: #ffffff;
}

toolbarbutton.tabbable {
  -moz-user-focus: normal !important;
}

toolbarbutton:hover:active[buttonstyle="text"],
toolbarbutton[open="true"][buttonstyle="text"] {
  color: #B8D2FA !important;
}

toolbarbutton[disabled="true"],
toolbarbutton[disabled="true"]:hover,
toolbarbutton[disabled="true"]:hover:active
toolbarbutton[disabled="true"][open="true"] {
  color: GrayText !important;
}
/* ..... checked state ..... */

toolbarbutton[checked="true"] {
    background-color: #999999;
    background-image: none;
    border-right: 1px solid #b9b9b9;
    border-left: 1px solid #b9b9b9;
    color: ButtonText !important;
}

/* ::::: toolbarbutton menu ::::: */

.toolbarbutton-menu-dropmarker {
  -moz-appearance: none !important;
  border: none !important;
  background-color: transparent !important;
  padding: 0;
  width: auto;
}

.toolbarbutton-menu-dropmarker[disabled="true"] {
  padding: 0 !important;
}

/* ::::: toolbarbutton menu-button ::::: */

toolbarbutton[type="menu-button"] {
  -moz-box-align: stretch;
  -moz-box-orient: horizontal !important;
}

toolbarbutton[type="menu-button"],
toolbarbutton[type="menu-button"]:hover,
toolbarbutton[type="menu-button"]:hover:active,
toolbarbutton[type="menu-button"][open="true"],
toolbarbutton[type="menu-button"][disabled="true"],
toolbarbutton[type="menu-button"][disabled="true"]:hover,
toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
  background-color: transparent;
}

.toolbarbutton-menubutton-button {
  -moz-box-align: center;
  -moz-box-pack: center;
  -moz-box-orient: vertical;
}

/* .......... dropmarker .......... */

.toolbarbutton-menubutton-dropmarker {
  -moz-appearance: none !important;
  padding: 3px;
  border: none !important;
  background-color: transparent !important;
  width: auto;
}

.toolbarbutton-menubutton-dropmarker[disabled="true"] {
  padding: 3px !important;
}